package com;

import com.cn.FileMonitor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Description JAVA启动类
 * @Author 作者： cm
 * @DATE 创建时间： 2021/8/6 14:40
 * @Version 版本：1.0
 */
@SpringBootApplication
public class StartApplication {

    public static void main(String[] args) {
        SpringApplication.run(StartApplication.class, args);
    }

    @Bean
    public FileMonitor fileMonitor() {
        return new FileMonitor("F:\\test_db");
    }

}
